{include file="index@/public/header" /}
<style>
    body {
        background: #e1e0de;
    }
    * {
        box-sizing: border-box;
    }
    h1,
    h2,
    h3,
    h4 {

    }
    .layui-card-header {
        width: 100%;
        border-bottom: 1px solid #999 !important;
        padding-left: 5px;
    }
    .layui-card {
        padding: 10px 20px 50px;
    }
    p {
        margin: 0 0 10px !important;
    }
    .layui-container {
        padding: 0 !important;
    }
    img {
        max-width: 100%;
    }
    ::-moz-selection {
        background: #cccccc;
        color: #ffffff;
    }
    ::selection {
        background: #cccccc;
        color: #ffffff;
    }
    .layui-breadcrumb {
        padding-left: 5px;
    }
    .layui-card h1 {
        margin: 10px auto 0;
    }
    .description {
        font-size: 15px;
        font-weight: bold;
        margin: 20px 0;
    }

    .layui-textarea {
        resize: none !important;
    }
    .body-buttom-right{
        width: 100%;
    }

    @media screen and (max-width: 800px) {
        .layui-card-header {
            line-height: normal !important;
            font-size: 10px !important;
        }
    }


    .layui-card-body{
        padding: 10px 5px;
    }
    td{height: 30px;text-align:center;color: #333;}
    tbody tr:nth-child(n+2) td:nth-child(1){
        padding-left: .5rem;
        text-align: left;
    }
    .dwn{border:1px solid #838383;text-align:left;color:#838383;cursor:pointer;border-radius:5px;padding:6px 5px 0px 5px;text-decoration:none;display:inline-block;margin-top:5px;height: 43px;width:140px}
    .layui-card-body{
        padding: 10px 5px;
    }

    .qq{
        list-style:none;
        counter-reset: count;
    }

   .qq li:before{
        content: '●';
        color: #016CB7;
        line-height: 30px;
        font-size: 12px;
    }

    h2{

    }
</style>
<div class="layui-container" style='font: 12px/14px arial,helvetica,sans-serif;'>
    <div class="layui-card">
        <span class="layui-breadcrumb" lay-separator="/">
      <a href="/" style="font: 12px/14px arial,helvetica,sans-serif;">{:lang('Home')}</a>
      {foreach $crumbs as $k=>$v }
      <a href="/{$v['crumbs_url']}" style="font: 12px/14px arial,helvetica,sans-serif;color:#36648A">{$v['alias_name']}</a>
      {/foreach}
    </span>
        <div class="layui-card-header">
            <h1>{:lang('Spindle Bearings')}</h1>
        </div>
        <style type="text/css">
            .tpi p{font: 12px/14px arial,helvetica,sans-serif;color: #333;line-height: 24px;}
            .tpi h4{padding: 5px 0px;color:#016CB7;font-size:17px}
        </style>

        <div class="body-buttom" style="margin-top: 10px">
            <div class="layui-row">

                <div class="layui-col-sm8 tpi" style="float:left;">
                    <p>
                    {:lang('Spindle bearings are very accurately engineered components and as such are very important to the successful performance of the machine tool. With high running accuracy, high-speed performance and high system rigidity, LILY super-precision spindle bearings are ideal for machine tools spindle units. The bearings are designed also to minimize noise, vibration and heat generation.')}
                    </p>

                    <p>
                       <span style="color:#79858e;font-size: 13px; font-weight: 800;" >{:lang('Types:')}</span>{:lang('High-speed, super precision, universal angular contact, ball screw')}
                        <br>
                        {:lang('support')}
                        <br>
                        <span style="font-weight: 800;font-size: 13px;color:#79858e;">{:lang('Configurations:')}</span>{:lang('duplex, triplex, quad sets, ball-ball, ball-roller')}
                        <br>
                      <span style="font-weight: 800;font-size: 13px;color: #79858e;">{:lang('Materials:')}</span> {:lang('52100 steel, custom high-carbon steels, hybrid, ceramic.')}
                        <br>
                        <span style="font-weight: 800;font-size: 13px;color:#79858e;">{:lang('Precision:')}</span>
                        {:lang('Up to ABEC9/RBEC9')}
                    </p>
                    <p>

                    </p>

                    <p style="font-size: 16px;font-weight: normal;">{:lang('Handle Machine Tool Spindle Bearings')}</p>

                    <ul class="qq">
                        <li >&emsp;{:lang('Keep your workspace tidy and clean.')}</li>
                        <li >&emsp;{:lang('Avoid damage by reducing movement during transport.')}</li>
                        <li >&emsp;{:lang('Leave spindle ball bearings in airtight packaging until you begin with their installation.')}</li>
                        <li>&emsp;{:lang('Apply axial load only along the marked lines on the outer ring.')}</li>
                        <li >&emsp;{:lang('Avoid transmitting assembly forces through the balls.')}</li>
                        <li >&emsp;{:lang('Assemble pair bearings of type DB, DF, and DT only with the intended components in the right order. (Universally matched bearings require no particular order.)')}</li>
                        <li >&emsp;{:lang('Let spindle ball bearings run in at high rotational speed before putting them into operation.')}</li>
                    </ul>

                    <h2 style="color: #0073a5;font-size: 1.5rem; font-weight: 500;margin: 30px 0px 10px 0px;">{:lang('Spindle Ball Bearings - Designation Example')}</h2>
                    <h2 style="color: #0073a5;margin: 30px 0px 10px 0px;">{:lang('71922 CDGBTNHA/PA9AL')}</h2>
                    <p>719 &emsp;&emsp; {:lang('In accordance with ISO dimension series 19')}</p>
                    <p>22 &emsp;&emsp;&emsp;{:lang('(x5) 110 mm bore diameter')}</p>
                    <p>CD &emsp;&nbsp;&nbsp;&emsp;{:lang('15° contact angle, high-capacity design')}</p>
                    <p>GB&emsp;&nbsp;&nbsp;&nbsp;&emsp;{:lang('Single, universally matchable, moderate preload')}</p>
                    <p>TNHA&emsp;&nbsp;&nbsp;{:lang('Glass fibre reinforced PEEK, outer ring centred')}</p>
                    <p>PA9A &emsp;&nbsp;&nbsp;{:lang('Dimensional and geometrical tolerances in accordance with ISO tolerance class 2')}</p>
                    <p>L&emsp;&nbsp;&nbsp;&emsp;&emsp;{:lang('Annular groove with two lubrication holes on the non-thrust side of the outer ring')}</p>
                    <p>EQ&emsp;&emsp;&nbsp;&nbsp;{:lang('and two annular grooves fitted with O-rings in the outer ring')}</p>


                </div>

                    <div class="layui-col-sm4" style="float:right;">
                        <img src="{:Config::get('app.images_host')}/images/web/duplex.png" style="width:80%;">
                        <div style="margin-top: 130px">
                            <div style="border:1px solid black;width:80%;margin-left:10%;padding: 10px 10px;border-radius:5px">
                                <div>
                                    <div style="font-weight:bold;background-color:#EFEFEF;padding:5px;border-radius:2px">{:lang('Seal Types')}</div>
                                    <div style="padding: 2px 5px">
                                        <div style="padding-bottom:5px;padding-top:5px"><input onclick="init_selected()" style='cursor:pointer;' type="radio" name="Seal_Types" value='Open' checked><span style="padding-left:5px">Open</span></div>
                                        <div><input onclick="init_selected()" style='cursor:pointer;' type="radio" name="Seal_Types" value='Sealed'><span style="padding-left:5px">Sealed</span></div>
                                    </div>
                                </div>

                                <div>
                                    <div style="font-weight:bold;background-color:#EFEFEF;padding:5px;border-radius:2px">{:lang('Bore Dia')}</div>
                                    <div style="padding: 2px 5px">
                                        <div style="padding-bottom:5px;padding-top:5px" >
                                            <select style='cursor:pointer;width:100%;height:30px' name="Bore_Dia" id='Bore_Dia_angular' onchange="Bore_Diasel()">
                                            </select>
                                        </div>
                                    </div>
                                </div>

                                <div>
                                    <div style="font-weight:bold;background-color:#EFEFEF;padding:5px;border-radius:2px">{:lang('Outer Dia')}</div>
                                    <div style="padding: 2px 5px">
                                        <div style="padding-bottom:5px;padding-top:5px" >
                                            <select style='cursor:pointer;width:100%;height:30px' name="Outer_Dia" id='Outer_Dia_angular' onchange="Bore_Diasel()">
                                            </select>
                                        </div>
                                    </div>
                                </div>

                                <div>
                                    <div style="font-weight:bold;background-color:#EFEFEF;padding:5px;border-radius:2px">{:lang('Width')}</div>
                                    <div style="padding: 2px 5px">
                                        <div style="padding-bottom:5px;padding-top:5px">
                                            <select style='cursor:pointer;width:100%;height:30px' name="Width" id='Width_angular' onchange="Bore_Diasel()">
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div style="margin-left:35%">
                                    <button class="layui-btn layui-btn-sm" onclick='chuandi()' style="background-color: #FDD702;color:black;font-weight:bold;">{:lang('SEARCH')}</button>
                                    
                                </div>
                                
                                
                            </div>
                            
                        </div>
                    </div>
                <div class='clear'></div>
                <div style="padding-top: 20px">
                    <div class="layui-col-sm3 layui-col-xs6" style="text-align: center">
                        
                            <a href="/resources/technology/angular-contact-ball-bearings/super-precision/spindle-bearings/spindle-bearing-designs/"   style=" text-decoration: none;  width:230px;height: 100px;">
                                <img src="{:Config::get('app.images_host')}/images/web/Spheris.png" style="height: 100px; width: 150px;  margin-top:-3px">
                               <p style="padding:5px">Spindle Bearing Designs</p>
                            </a>
                        
                    </div>
                    <div class="layui-col-sm3 layui-col-xs6" style="text-align: center">
                        
                        <a href="/resources/technology/angular-contact-ball-bearings/super-precision/paired-spindle-bearings/"   style=" text-decoration: none; width:230px;height: 100px;">
                                <img id="downimg" src="{:Config::get('app.images_host')}/images/web/Spheriss.png" style="height: 100px; width: 150px;margin-top:-3px">
                        <p style="padding:5px">Paired Spindle Bearings</p>
                        </a>
                        
                    </div>
                    <div class="layui-col-sm3 layui-col-xs6" style="text-align: center">
                       
                            <a href="/resources/technology/angular-contact-ball-bearings/super-precision/hybrid-spindle-bearings/"   style="text-decoration: none; width:230px;height: 100px;">
                                <img id="downimg" src="{:Config::get('app.images_host')}/images/web/Spherisa.png" style="height: 100px; width: 150px;margin-top:-3px">
                        <p style="padding:5px">Hybrid Spindle Bearings</p>
                        </a>
                        
                    </div>
                    <div class="layui-col-sm3 layui-col-xs6" style="text-align: center">
                        
                            <a href="/resources/technology/angular-contact-ball-bearings/super-precision/materials/"   style="text-decoration: none; width:230px;height: 100px;">
                                <img id="downimg" src="{:Config::get('app.images_host')}/images/web/Sphericla.png" style="height: 100px; width: 150px;margin-top:-3px">
                        <p style="padding:5px">Materials</p>
                        </a>
                        
                    </div>
                </div>


            </div>
        </div>
    </div>
</div>

{include file="index@/public/footer" /}

<script type="text/javascript">
    $(function(){
        init_selected();
    });
    function init_selected(){
        $("#Bore_Dia_angular option:selected").prop('selected', false);
        $("#Outer_Dia_angular option:selected").prop('selected', false);
        $("#Width_angular option:selected").prop('selected', false);
        Bore_Diasel()
    }
    function Bore_Diasel(){
        var Seal_Types = $("input[name='Seal_Types']:checked").val();
        var Bore_Dia   = $("#Bore_Dia_angular option:selected").val();
        var Outer_Dia  = $("#Outer_Dia_angular option:selected").val();
        var Width      = $("#Width_angular option:selected").val();

        var formData = new FormData();
        formData.append('Seal_Types', Seal_Types);
        formData.append('Bore_Dia', Bore_Dia);
        formData.append('Outer_Dia', Outer_Dia);
        formData.append('Width', Width);
        $.ajax({
            url: "{:url('index/Dan/spindle_bearings_search')}",/*传向后台服务器文件*/
            type: 'POST',    /*传递方法 */
            data: formData,  /*要带的值，在这里只能带一个formdata ，不可以增加其他*/
            dataType: 'json',  //传递数据的格式
            async: true, //这是重要的一步，防止重复提交的
            cache: false,  //设置为false，上传文件不需要缓存。
            contentType: false,//设置为false,因为是构造的FormData对象,所以这里设置为false。
            processData: false,//设置为false,因为data值是FormData对象，不需要对数据做处理。

            success: function (res){
                // 内径
                if(!Bore_Dia){
                    var Bore_Dia_html='<option value="">Please choose...</option>';
                    for(var i=0;i<res.Bore_Dia.length;i++){
                        Bore_Dia_html+='<option value="'+res.Bore_Dia[i]['value']+'">'+res.Bore_Dia[i]['value']+'</option>';
                    }
                    $("#Bore_Dia_angular").html(Bore_Dia_html);
                }

                // 外径
                if(!Outer_Dia){
                    var Outer_Dia_html='<option value="">Please choose...</option>';
                    for(var i=0;i<res.Outer_Dia.length;i++){
                        Outer_Dia_html+='<option value="'+res.Outer_Dia[i]['value']+'">'+res.Outer_Dia[i]['value']+'</option>';
                    }
                    $("#Outer_Dia_angular").html(Outer_Dia_html);
                }
                
                // 宽度
                if(!Width){
                    var Width_html='<option value="">Please choose...</option>';
                    for(var i=0;i<res.Width.length;i++){
                        Width_html+='<option value="'+res.Width[i]['value']+'">'+res.Width[i]['value']+'</option>';
                    }
                    $("#Width_angular").html(Width_html);
                }
                
            }
        });
    }
    

    function chuandi(){
        var Seal_Types=$("input[name='Seal_Types']:checked").val();
        var Bore_Dia=$("#Bore_Dia_angular option:selected").val();
        var Outer_Dia=$("#Outer_Dia_angular option:selected").val();
        var Width=$("#Width_angular option:selected").val();
        var url="/product/ball-bearing/angular-contact-ball-bearings/";
        var str=url+"?Seal Type="+Seal_Types;
        if(Bore_Dia!=''&&Bore_Dia!=undefined){
            str+="&Bore Dia="+Bore_Dia;
        }
        if(Outer_Dia!=''&&Outer_Dia!=undefined){
            str+="&Outer Dia="+Outer_Dia;
        }
        if(Width!=''&&Width!=undefined){
            str+="&Width="+Width;
        }
        window.location.href=str;
    }
</script>
